load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "protojson",
    srcs = [
        "decode.go",
        "doc.go",
        "encode.go",
        "well_known_types.go",
    ],
    importmap = "github.com/cockroachdb/cockroach/vendor/google.golang.org/protobuf/encoding/protojson",
    importpath = "google.golang.org/protobuf/encoding/protojson",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/google.golang.org/protobuf/internal/detectknown",
        "//vendor/google.golang.org/protobuf/internal/encoding/json",
        "//vendor/google.golang.org/protobuf/internal/encoding/messageset",
        "//vendor/google.golang.org/protobuf/internal/errors",
        "//vendor/google.golang.org/protobuf/internal/fieldnum",
        "//vendor/google.golang.org/protobuf/internal/flags",
        "//vendor/google.golang.org/protobuf/internal/pragma",
        "//vendor/google.golang.org/protobuf/internal/set",
        "//vendor/google.golang.org/protobuf/internal/strs",
        "//vendor/google.golang.org/protobuf/proto",
        "//vendor/google.golang.org/protobuf/reflect/protoreflect",
        "//vendor/google.golang.org/protobuf/reflect/protoregistry",
    ],
)
